home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / quicktime / effects / dimmer2effect / effectdefinitions.h < prev    next >
Encoding:
Text File  |  2000-06-23  |  872 b   |  42 lines

  1. /*
  2.     File:    EffectDefinitions.h
  3.     
  4.     Author:    Dan Crow
  5.     
  6.     Copyright:    © 1997 by Apple Computer, Inc., all rights reserved.
  7.  
  8.     Useful definitions for the sample effect that are used by both the
  9.     effect source code and its resource file, to ensure that these remain
  10.     in sync
  11.  
  12. */
  13.  
  14. // resource id numbers for this codec
  15. #define kEffectcdciRes            130
  16. #define kEffectthngRes            130
  17. #define kEffectatmsRes            130
  18. #define kEffectICONRes            130
  19. #define kEffectNameRes            129
  20. #define kEffectDescriptionRes    130
  21. #define kEffectCodeRes            130
  22.  
  23. // PPC versions are + 1
  24. #if REZ
  25.     #if TARGET_OS_MAC && TARGET_REZ_MAC_PPC
  26.         #define    VERSIONDELTA            1
  27.     #else
  28.         #define    VERSIONDELTA            0
  29.     #endif
  30. #else
  31.     #if TARGET_OS_MAC && TARGET_CPU_PPC
  32.         #define    VERSIONDELTA            1
  33.     #else
  34.         #define    VERSIONDELTA            0
  35.     #endif
  36. #endif
  37.  
  38. // version number of our effect
  39. #define kDimmerEffectVersion        (0x00010000 + VERSIONDELTA)
  40.  
  41.  
  42.